<template>
  <div>
    <map-legend :items="legends"/>
  </div>
</template>

<script>
import MapLegend from "@/map/MapLegend";

export default {
  name: 'App',
  components: {
    MapLegend
  },
  data() {
    return {
      legends: {
        "在线": "#f4ea2a",
        "掉线": "#8a8a8a",
        "未关联": "#d81e06"
      }
    }
  }
}
</script>

<style>
</style>
